import request from "@/utils/request.js";


export function getWxSdkConfig(data) {
  return request.post('/weixin/mp/getWxSdkConfig', data,{noAuth:false});
}

/**
 * 获取二维码
 * @param data {
 *   params:"{}",
 *   appId:""
 * }
 * @returns {*|Promise<HttpResponse<any>>}
 */
export function getQrCode(data) {
  return request.post('/weixin/ma/genQrCode', data,{noAuth:false});
}
